package md.frolov.bible.providers;

import md.frolov.bible.Activator;
import md.frolov.bible.model.IViewLabelProvider;

import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.ISharedImages;
import org.eclipse.ui.PlatformUI;

public class ViewLabelProvider extends LabelProvider {

	public String getText(Object obj) {
		return ((IViewLabelProvider) obj).getText();
	}
	public Image getImage(Object obj) {
		return Activator.getImage(obj.getClass().getName());
	}
	
}
